//
//  DataCity.swift
//  JiaoZiTaxi
//
//  Created by Hu Gang on 2024/4/2.
//

import Foundation
struct DataCity {
   let code: String
   let name: String
   let nameEn: String
   let nameLao: String
   let orders: String
}

extension DataCity: Codable {
   enum CodingKeys: String, CodingKey {
      case code = "code"
      case name = "chinese"
      case nameEn = "english"
      case nameLao = "lao"
      case orders = "orderss"
   }
}

struct DataDisplayCity:Identifiable {
   let id = UUID()
   let code: String
   let name: String
}
